// import http from './intercept.js'
import http from './interface.js'
const apiList = {
	// <--     登录     -->
	//微信小程序登录
	wxapp_login: (data) => {
		return http.request({
			url: '/member/login/wxapp_login',
			method: 'POST',
			data
		})
	},
	//第三方登录
	appWxAuth: (data) => {
		return http.request({
			url: '/member/login/appWxAuth',
			method: 'POST',
			data
		})
	},
	//绑定手机号
	bindMobile: (data) => {
		return http.request({
			url: '/member/personal/bindMobile',
			method: 'POST',
			data
		})
	},
	//注册
	register: (data) => {
		return http.request({
			url: '/member/login/register',
			method: 'POST',
			data
		})
	},
	//修改手机号
	changeMobile: (data) => {
		return http.request({
			url: '/member/personal/changeMobile',
			method: 'POST',
			data
		})
	},
	//手机号登录
	login: (data) => {
		return http.request({
			url: '/member/login/login',
			method: 'POST',
			data
		})
	},
	//修改登录密码
	changePass: (data) => {
		return http.request({
			url: '/member/personal/changePass',
			method: 'POST',
			data
		})
	},
	//短信验证码登录
	code_login: (data) => {
		return http.request({
			url: '/member/login/code_login',
			method: 'POST',
			data
		})
	},
	//忘记密码
	forgetPass: (data) => {
		return http.request({
			url: '/member/login/forgetPass',
			method: 'POST',
			data
		})
	},
	//获取图形验证码
	get_img_code: (data) => {
		return http.request({
			url: '/system/sms/get_img_code',
			method: 'POST',
			data
		})
	},
	//发送短信
	send_sms: (data) => {
		return http.request({
			url: '/system/sms/send_sms',
			method: 'POST',
			data
		})
	},
	//单图上传
	postUploadOne: (data) => {
		return http.request({
			url: '/system/basic/postUploadOne',
			method: 'POST',
			data
		})
	},
	//支付
	pay: (data) => {
		return http.request({
			url: '/payment/pay/pay',
			method: 'POST',
			data
		})
	},
	
	//获取地区联动
	getRegion: (data) => {
		return http.request({
			url: '/system/basic/getRegion',
			method: 'POST',
			data
		})
	},
	//根据code解析地区，并获取兄弟节点
	modifyRegion: (data) => {
		return http.request({
			url: '/system/basic/modifyRegion',
			method: 'POST',
			data
		})
	},
	//获取配置
	conf: (data) => {
		return http.request({
			url: '/system/basic/conf',
			method: 'POST',
			data
		})
	},
	
	
	//绑定手机号
	bindPhone: (data) => {
		return http.request({
			url: '/member/member/bindPhone',
			method: 'POST',
			data
		})
	},
	// //更换手机号
	// changeMobile: (data) => {
	// 	return http.request({
	// 		url: '/member/member/changeMobile',
	// 		method: 'POST',
	// 		data
	// 	})
	// },
	//获取会员信息
	getUserInfo: (data) => {
		return http.request({
			url: '/member/member/getUserInfo',
			method: 'POST',
			data
		})
	},
	//编辑会员信息
	changeUserInfo: (data) => {
		return http.request({
			url: '/member/member/changeUserInfo',
			method: 'POST',
			data
		})
	},
	
	
	// 首页
	index: (data) => {
		return http.request({
			url: '/shop/index/index',
			method: 'POST',
			data
		})
	},
	//获取附近店铺
	getNearbyShop: (data) => {
		return http.request({
			url: '/shop/shop/get_nearby_shop',
			method: 'POST',
			data
		})
	},
	// 获取分类
	classify: (data) => {
		return http.request({
			url: '/shop/index/classify',
			method: 'POST',
			data
		})
	},
	// 获取筛选内容
	screen: (data) => {
		return http.request({
			url: '/shop/index/screen',
			method: 'POST',
			data
		})
	},
	// 附近商家
	nearby_shop: (data) => {
		return http.request({
			url: '/shop/index/nearby_shop',
			method: 'POST',
			data
		})
	},
	
	
	
	// 个人资料
	material: (data) => {
		return http.request({
			url: '/member/personal/material',
			method: 'POST',
			data
		})
	},
	// 个人资料
	changeInfo: (data) => {
		return http.request({
			url: '/member/personal/changeInfo',
			method: 'POST',
			data
		})
	},
	
	// 设置提现信息
	cash_set: (data) => {
		return http.request({
			url: '/shop/my/cash_set',
			method: 'POST',
			data
		})
	},
	// 获取提现设置信息
	my_cash_info: (data) => {
		return http.request({
			url: '/shop/my/cash_info',
			method: 'POST',
			data
		})
	},
	// 提现
	apply_withdraw: (data) => {
		return http.request({
			url: '/finance/cash/apply',
			method: 'POST',
			data
		})
	},
	
	// 商家入驻
	shop_apply: (data) => {
		return http.request({
			url: '/shop/shop/shop_apply',
			method: 'POST',
			data
		})
	},
	// 获取商家入驻信息
	shop_apply_info: (data) => {
		return http.request({
			url: '/shop/shop/shop_apply_info',
			method: 'POST',
			data
		})
	},
	// 商家信息
	shop_info: (data) => {
		return http.request({
			url: '/shop/shop/shop_info',
			method: 'POST',
			data
		})
	},
	// 商家商品
	shop_goods: (data) => {
		return http.request({
			url: '/shop/shop/shop_goods',
			method: 'POST',
			data
		})
	},
	// 实名认证
	real_name: (data) => {
		return http.request({
			url: '/shop/my/real_name',
			method: 'POST',
			data
		})
	},
	// 获取实名认证信息
	real_name_info: (data) => {
		return http.request({
			url: '/shop/my/real_name_info',
			method: 'POST',
			data
		})
	},
	// 商家资质认证
	shopreal_name: (data) => {
		return http.request({
			url: '/shop/shop/real_name',
			method: 'POST',
			data
		})
	},
	// 获取商家资质认证信息
	shopreal_name_info: (data) => {
		return http.request({
			url: '/shop/shop/real_name_info',
			method: 'POST',
			data
		})
	},
	
	// 用户端/商家端切换
	cut_shenfen: (data) => {
		return http.request({
			url: '/shop/my/cut',
			method: 'POST',
			data
		})
	},
	// 商家房间信息
	shop_room: (data) => {
		return http.request({
			url: '/shop/my/shop_room',
			method: 'POST',
			data
		})
	},
	// 商家房间预订记录
	room_order_list: (data) => {
		return http.request({
			url: '/shop/my/room_order_list',
			method: 'POST',
			data
		})
	},
	// 预订房间
	order_room: (data) => {
		return http.request({
			url: '/shop/shop/order_room',
			method: 'POST',
			data
		})
	},
	
	// 获取商家评论
	comment_list: (data) => {
		return http.request({
			url: '/shop/comment/comment_list',
			method: 'POST',
			data
		})
	},
	
	
	// 账户
	// 积分明细
	points_all: (data) => {
		return http.request({
			url: '/member/member/points_all',
			method: 'POST',
			data
		})
	},
	// 赠送积分明细
	recommend_list: (data) => {
		return http.request({
			url: '/member/member/recommend_list',
			method: 'POST',
			data
		})
	},
	// 消费赠送积分明细
	points_award: (data) => {
		return http.request({
			url: '/member/member/points_award',
			method: 'POST',
			data
		})
	},
	// 积分抵扣明细
	points_discount: (data) => {
		return http.request({
			url: '/member/member/points_discount',
			method: 'POST',
			data
		})
	},
	// 积分提现明细
	points_tx: (data) => {
		return http.request({
			url: '/member/member/points_tx',
			method: 'POST',
			data
		})
	},
	
	// 二代提成收益统计
	retail_info: (data) => {
		return http.request({
			url: '/member/member/retail_info',
			method: 'POST',
			data
		})
	},
	// 二代提成收益明细
	retail_detail: (data) => {
		return http.request({
			url: '/member/member/retail_detail',
			method: 'POST',
			data
		})
	},
	// 二代提成收益提现明细
	retail_tx: (data) => {
		return http.request({
			url: '/member/member/retail_tx',
			method: 'POST',
			data
		})
	},
	
	
	
	// 我的资金
	deposit_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/deposit_info',
			method: 'POST',
			data
		})
	},
	// 营收资金统计
	statistics: (data) => {
		return http.request({
			url: '/shop/shop_credit/statistics',
			method: 'POST',
			data
		})
	},
	// 营业额
	offline_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/offline_info',
			method: 'POST',
			data
		})
	},
	// 实收款
	pay_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/pay_info',
			method: 'POST',
			data
		})
	},
	// 积分抵扣明细
	points_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/points_info',
			method: 'POST',
			data
		})
	},
	// 平台佣金
	service_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/service_info',
			method: 'POST',
			data
		})
	},
	// 激活计提应付
	jiti_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/jiti_info',
			method: 'POST',
			data
		})
	},
	// 营收资金应收款
	cash_info: (data) => {
		return http.request({
			url: '/shop/shop_credit/cash_info',
			method: 'POST',
			data
		})
	},
	
	
	// 房子列表
	house_list: (data) => {
		return http.request({
			url: '/shop/house/house_list',
			method: 'POST',
			data
		})
	},
	// 房子详情
	house_detail: (data) => {
		return http.request({
			url: '/shop/house/house_detail',
			method: 'POST',
			data
		})
	},
	// 发布房子
	publish_house: (data) => {
		return http.request({
			url: '/shop/house/publish_house',
			method: 'POST',
			data
		})
	},
	
	// 我的发布（招聘）
	main_publish_recruit: (data) => {
		return http.request({
			url: '/member/member/main_publish_recruit',
			method: 'POST',
			data
		})
	},
	// 我的发布（出租/出售）
	main_publish_house: (data) => {
		return http.request({
			url: '/member/member/main_publish_house',
			method: 'POST',
			data
		})
	},
	
	
	// 发布招聘
	publish_recruit: (data) => {
		return http.request({
			url: '/shop/recruit/publish_recruit',
			method: 'POST',
			data
		})
	},
	// 招聘列表
	recruit_list: (data) => {
		return http.request({
			url: '/shop/recruit/recruit_list',
			method: 'POST',
			data
		})
	},
	// 招聘详情
	recruit_detail: (data) => {
		return http.request({
			url: '/shop/recruit/recruit_detail',
			method: 'POST',
			data
		})
	},
	// 申请职位，发送简历
	send_resume: (data) => {
		return http.request({
			url: '/shop/recruit/send_resume',
			method: 'POST',
			data
		})
	},
	//商家收到的简历列表
	resume_list: (data) => {
		return http.request({
			url: '/shop/recruit/resume_list',
			method: 'POST',
			data
		})
	},
	//商家收到的简历详情
	resume_detail: (data) => {
		return http.request({
			url: '/shop/recruit/resume_detail',
			method: 'POST',
			data
		})
	},
	//添加简历
	add_resume: (data) => {
		return http.request({
			url: '/shop/recruit/add_resume',
			method: 'POST',
			data
		})
	},
	//获取我的简历内容
	get_resume: (data) => {
		return http.request({
			url: '/shop/recruit/resume_info',
			method: 'POST',
			data
		})
	},
	
	
	//缴费详情
	fee_info: (data) => {
		return http.request({
			url: '/shop/my/fee_info',
			method: 'POST',
			data
		})
	},
	//缴费记录
	fee_list: (data) => {
		return http.request({
			url: '/shop/my/fee_list',
			method: 'POST',
			data
		})
	},
	
	
	//推荐视频列表
	recommend: (data) => {
		return http.request({
			url: '/video/video/recommend',
			method: 'POST',
			data
		})
	},
	//本地视频列表
	local: (data) => {
		return http.request({
			url: '/video/video/local',
			method: 'POST',
			data
		})
	},
	//热点视频列表
	hot: (data) => {
		return http.request({
			url: '/video/video/hot',
			method: 'POST',
			data
		})
	},
	//视频详情
	video_detail: (data) => {
		return http.request({
			url: '/video/video/video_detail',
			method: 'POST',
			data
		})
	},
	//关注他人
	interest_member: (data) => {
		return http.request({
			url: '/video/video/interest_member',
			method: 'POST',
			data
		})
	},
	//取消关注
	cancel_interest: (data) => {
		return http.request({
			url: '/video/video/cancel_interest',
			method: 'POST',
			data
		})
	},
	//取消点赞/收藏视频
	cancel_like: (data) => {
		return http.request({
			url: '/video/video/cancel_like',
			method: 'POST',
			data
		})
	},
	//点赞/收藏/播放(记录播放量)视频
	like_video: (data) => {
		return http.request({
			url: '/video/video/like',
			method: 'POST',
			data
		})
	},
	//评论列表
	comment_video: (data) => {
		return http.request({
			url: '/video/video/comment_list',
			method: 'POST',
			data
		})
	},
	//发表评论
	to_comment_video: (data) => {
		return http.request({
			url: '/video/video/member_comment',
			method: 'POST',
			data
		})
	},
	
	//点赞评论
	like_comment: (data) => {
		return http.request({
			url: '/video/video/like_comment',
			method: 'POST',
			data
		})
	},
	//取消点赞评论
	cancel_comment_like: (data) => {
		return http.request({
			url: '/video/video/cancel_comment_like',
			method: 'POST',
			data
		})
	},
	
	
	
	//我的收藏视频列表
	main_collect: (data) => {
		return http.request({
			url: '/member/member/main_collect',
			method: 'POST',
			data
		})
	},
	//我的关注列表
	main_interest: (data) => {
		return http.request({
			url: '/member/member/main_interest',
			method: 'POST',
			data
		})
	},
	//观看历史列表
	main_player: (data) => {
		return http.request({
			url: '/member/member/main_player',
			method: 'POST',
			data
		})
	},
	//我的视频列表
	main_video: (data) => {
		return http.request({
			url: '/video/video/main_video',
			method: 'POST',
			data
		})
	},
	//删除视频
	del_main_video: (data) => {
		return http.request({
			url: '/video/video/del_main_video',
			method: 'POST',
			data
		})
	},
	// 我的买单
	main_offline_payment: (data) => {
		return http.request({
			url: '/member/member/main_offline_payment',
			method: 'POST',
			data
		})
	},
	// 买单
	offline_payment: (data) => {
		return http.request({
			url: '/shop/order/offline_payment',
			method: 'POST',
			data
		})
	},
	// 我的预定
	my_order: (data) => {
		return http.request({
			url: '/member/member/my_order',
			method: 'POST',
			data
		})
	},
	
	
	
	// 获取未读消息条数
	unread_msg: (data) => {
		return http.request({
			url: '/system/announce/unread',
			method: 'POST',
			data
		})
	},
	// 消费消息详情
	message_info: (data) => {
		return http.request({
			url: '/shop/shop/message_info',
			method: 'POST',
			data
		})
	},
	
	// 公告列表
	announce_list: (data) => {
		return http.request({
			url: '/system/announce/announce_list',
			method: 'POST',
			data
		})
	},
	// 公告详情
	announce_detail: (data) => {
		return http.request({
			url: '/system/announce/announce_detail',
			method: 'POST',
			data
		})
	},
	// 消费信息
	pay_message: (data) => {
		return http.request({
			url: '/shop/shop/pay_message',
			method: 'POST',
			data
		})
	},
	// 发表评论
	shop_comment: (data) => {
		return http.request({
			url: '/shop/comment/shop_comment',
			method: 'POST',
			data
		})
	},
	// 发布视频
	release_video: (data) => {
		return http.request({
			url: '/video/video/release',
			method: 'POST',
			data
		})
	},
	
	// 邀请好友
	invite_friends: (data) => {
		return http.request({
			url: '/member/personal/invite_friends',
			method: 'POST',
			data
		})
	},
	
	//  删除我发布的出租
	del_main_publish_house: (data) => {
		return http.request({
			url: '/member/member/del_main_publish_house',
			method: 'POST',
			data
		})
	},
	//  删除我发布的招聘
	del_main_publish_recruit: (data) => {
		return http.request({
			url: '/member/member/del_main_publish_recruit',
			method: 'POST',
			data
		})
	},
	
	//  我的团队
	team_list: (data) => {
		return http.request({
			url: '/member/team/team_list',
			method: 'POST',
			data
		})
	},
	
	
	// 直播
	//  申请主播
	apply_live: (data) => {
		return http.request({
			url: '/live/live/apply_live',
			method: 'POST',
			data
		})
	},
	// 设置直播信息
	set_room: (data) => {
		return http.request({
			url: '/live/live/set_room',
			method: 'POST',
			data
		})
	},
	// 设置直播信息
	set_room: (data) => {
		return http.request({
			url: '/live/live/get_sig',
			method: 'POST',
			data
		})
	},
	// 直播列表
	room_list: (data) => {
		return http.request({
			url: '/live/live/room_list',
			method: 'POST',
			data
		})
	},
	
	// 商家收款码
	collection_code: (data) => {
		return http.request({
			url: '/shop/shop/collection_code',
			method: 'POST',
			data
		})
	},
	
	// 商家上传轮播图
	up_banner: (data) => {
		return http.request({
			url: '/shop/shop/up_banner',
			method: 'POST',
			data
		})
	},
	// 获取商家轮播图
	getshop_banner: (data) => {
		return http.request({
			url: '/shop/shop/banner',
			method: 'POST',
			data
		})
	},
	// 我的评价
	my_comment: (data) => {
		return http.request({
			url: '/shop/my/my_comment',
			method: 'POST',
			data
		})
	},
}
export default apiList